import { deleteRequest, getRequest, postRequest, putRequest } from '../baseRequest'

export const queryRoleList = (params) => getRequest(`role/list`, params)
export const addRole = (params) => postRequest('role/save', params)
export const delRole = (id) => deleteRequest(`role/delete/${id}`)
